Transformation techniques for context-sensitive rewrite systems

نویسندگان

  • Jürgen Giesl
  • Aart Middeldorp
چکیده

Context-sensitive rewriting is a computational restriction of term rewriting used to model non-strict (lazy) evaluation in functional programming. The goal of this paper is the study and development of techniques to analyze the termination behavior of context-sensitive rewrite systems. For that purpose, several methods have been proposed in the literature which transform contextsensitive rewrite systems into ordinary rewrite systems such that termination of the transformed ordinary system implies termination of the original contextsensitive system. In this way, the huge variety of existing techniques for termination analysis of ordinary rewriting can be used for context-sensitive rewriting, too. We analyze the existing transformation techniques for proving termination of context-sensitive rewriting and we suggest two new transformations. Our first method is simple, sound, and more powerful than the previously proposed transformations. However, it is not complete, i.e., there are terminating context-sensitive rewrite systems that are transformed into non-terminating term rewrite systems. The second method that we present in this paper is both sound and complete. All these observations also hold for rewriting modulo associativity and commutativity.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Transforming Context - Sensitive RewriteSystemsJ

We present two new transformation techniques for proving termination of context-sensitive rewriting. Our rst method is simple, sound, and more powerful than previously suggested transformations. However, it is not complete, i.e., there are terminating context-sensitive rewrite systems that are transformed into non-terminating term rewrite systems. The second method that we present in this paper...

متن کامل

Context-Sensitive Term-Rewriting

At first an introduction to context-sensitive rewrite-systems is given. The main part of this paper deals with the topic how one can prove termination of contextsensitive rewrite-systems. This can be done either by either transforming them into non context-sensitive ones or by extending the existing techniques which are used to prove termination of classic rewrite systems. This is described in ...

متن کامل

Transforming Context-Sensitive Rewrite Systems

We present two new transformation techniques for proving termination of context-sensitive rewriting. Our rst method is simple, sound, and more powerful than previously suggested transformations. However, it is not complete, i.e., there are terminating context-sensitive rewrite systems that are transformed into non-terminating term rewrite systems. The second method that we present in this paper...

متن کامل

On Proving and Characterizing Operational Termination of Deterministic Conditional Rewrite Systems

We define the notion of context-sensitive quasi-reductivity which implies operational termination of deterministic conditional term rewriting systems. Furthermore, we show how existing transformations from such systems into unconditional ones can be used (with slight modifications) to prove context-sensitive quasi-reductivity. Finally, we give a few equivalent characterizations of this notion.

متن کامل

Complexity of Conditional Term Rewriting

We propose a notion of complexity for oriented conditional rewrite systemssatisfying certain restrictions. This notion is realistic in the sense that it measures notonly successful computations, but also partial computations that result in a failed ruleapplication. A transformation to unconditional context-sensitive rewrite systems is pre-sented which reflects this complexity no...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:
  • J. Funct. Program.

دوره 14  شماره 

صفحات  -

تاریخ انتشار 2004